package xyy.d3erpapi.enums;

public enum HttpErrorCode {
    SIGN_VALIDATION_FAILED("E10001", "推送发⽣了错误,sign校验未通过"),
    LOGISTICS_REQUEST_PARSE_FAILED("E10002", "解析物流请求数据失败"),
    LOGISTICS_SYNC_INFO_UPLOAD_FAILED("E10003", "物流同步信息上报失败"),
    OUTBOUND_REPORT_TASK_FAILED("E10004", "出库上报任务执行失败"),
    ASYNC_RESULT_HANDLE_FAILED("E10005", "获取异步处理物流同步逻辑结果失败"),
    SYNC_ORDER_DELIVERY_DETAILS_FAILED("E10006", "同步订单配送详情失败"),
    // 根据实际业务需求，继续添加其他可能的错误码和对应的错误消息
    ;
    private final String code;
    private final String message;

    HttpErrorCode(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
